package com.wms.mapper;

import com.wms.entity.QuickArrivalMaterial;
import com.wms.param.MaterialConditionParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QuickArrivalMaterialMapper {
    /**
     * 获取物料信息
     * @return
     */
    List<QuickArrivalMaterial> selectAll();

    /**
     * 多条件查询
     * @param materialConditionParam
     * @return
     */
    List<QuickArrivalMaterial> selectByCondition(MaterialConditionParam materialConditionParam);

    /**
     * 批量增加操作
     * @param ids
     * @return
     */
    int insertMaterials(@Param("ids") List<Integer> ids);
}
